home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C ++ / Applications / FlyThrough 1.1.2 / src / Source / Vehicle Classes / CFlyThroughDoc.h < prev    next >
Encoding:
Text File  |  1997-03-17  |  945 b   |  39 lines  |  [TEXT/CWIE]

  1. //
  2. //    CFlyThroughDoc.h
  3. //
  4. //    A document class for opening a 3DMF file for viewing.
  5. //
  6. //    by James Jennings
  7. //    Started February 28, 1997
  8. //
  9.  
  10. #pragma once
  11.  
  12. #include "CVehicleViewPane.h"
  13.  
  14. // HAS_NEW_SCENE_MENU enables the code that builds some predefined scenes.
  15. // I want to turn this off in version 1.1b2.
  16. //#define HAS_NEW_SCENE_MENU
  17.  
  18. #ifdef HAS_NEW_SCENE_MENU
  19. const CommandT    cmd_8Cubes  = 1001;
  20. const CommandT    cmd_27Cubes = 1002;
  21. const CommandT    cmd_64Cubes = 1003;
  22. const CommandT    cmd_Scatter20Box = 1004;
  23. const CommandT    cmd_Scatter40Box = 1007;
  24. const CommandT    cmd_TriGridBox10 = 1005;
  25. const CommandT    cmd_TriGridBox30 = 1006;
  26. #endif
  27.  
  28. class CFlyThroughDoc : public LSingleDoc {
  29. public:
  30.     CFlyThroughDoc(LCommander *inSuper, FSSpec *inFSSpec);
  31. #ifdef HAS_NEW_SCENE_MENU
  32.     CFlyThroughDoc(LCommander *inSuper, CommandT inCommand);
  33. #endif
  34.     
  35.     virtual void    DoAESave( FSSpec &inFileSpec, OSType inFileType );
  36. private:
  37.     CVehicleViewPane *    MakeWindow();
  38. };
  39.